﻿import { AbpHttpInterceptor } from "@abp/abpHttpInterceptor";
import { HTTP_INTERCEPTORS } from "@angular/common/http";
import { NgModule } from "@angular/core";
import * as ApiServiceProxies from "./service-proxies";

@NgModule({
  providers: [
    ApiServiceProxies.AuditLogServiceProxy,
    ApiServiceProxies.CachingServiceProxy,
    ApiServiceProxies.ChatServiceProxy,
    ApiServiceProxies.CommonLookupServiceProxy,
    ApiServiceProxies.EditionServiceProxy,
    ApiServiceProxies.FriendshipServiceProxy,
    ApiServiceProxies.HostSettingsServiceProxy,
    ApiServiceProxies.InstallServiceProxy,
    ApiServiceProxies.LanguageServiceProxy,
    ApiServiceProxies.NotificationServiceProxy,
    ApiServiceProxies.OrganizationUnitServiceProxy,
    ApiServiceProxies.PermissionServiceProxy,
    ApiServiceProxies.ProfileServiceProxy,
    ApiServiceProxies.RoleServiceProxy,
    ApiServiceProxies.SessionServiceProxy,
    ApiServiceProxies.TenantServiceProxy,
    ApiServiceProxies.TenantDashboardServiceProxy,
    ApiServiceProxies.TenantSettingsServiceProxy,
    ApiServiceProxies.TimingServiceProxy,
    ApiServiceProxies.UserServiceProxy,
    ApiServiceProxies.UserLinkServiceProxy,
    ApiServiceProxies.UserLoginServiceProxy,
    ApiServiceProxies.WebLogServiceProxy,
    ApiServiceProxies.AccountServiceProxy,
    ApiServiceProxies.TokenAuthServiceProxy,
    ApiServiceProxies.TenantRegistrationServiceProxy,
    ApiServiceProxies.HostDashboardServiceProxy,
    ApiServiceProxies.PaymentServiceProxy,
    ApiServiceProxies.DemoUiComponentsServiceProxy,
    ApiServiceProxies.InvoiceServiceProxy,
    ApiServiceProxies.SubscriptionServiceProxy,
    ApiServiceProxies.InstallServiceProxy,
    ApiServiceProxies.UiCustomizationSettingsServiceProxy,

    ApiServiceProxies.PipelineServiceProxy,
    ApiServiceProxies.WorkshopDomainServiceProxy,

    ApiServiceProxies.LocationServiceProxy,
    ApiServiceProxies.PipelineNodeServiceProxy,
    ApiServiceProxies.TechDocServiceProxy,
    ApiServiceProxies.MonthPlanServiceProxy,
    ApiServiceProxies.TeamGroupTaskServiceProxy,
    ApiServiceProxies.MaterialChargeServiceProxy,
    ApiServiceProxies.MaterialIntoServiceProxy,
    ApiServiceProxies.MaterialOutServiceProxy,
    ApiServiceProxies.MaterialReturnServiceProxy,
    ApiServiceProxies.CostServiceProxy,
    ApiServiceProxies.EquipmentServiceProxy,
    ApiServiceProxies.MaintenanceServiceProxy,
    ApiServiceProxies.ScheduleServiceProxy,
    ApiServiceProxies.ClassificationServiceProxy,
    ApiServiceProxies.GeneralToolServiceProxy,
    ApiServiceProxies.ToolingServiceProxy,
    ApiServiceProxies.MainTaskServiceProxy,
    ApiServiceProxies.SideTaskServiceProxy,
    ApiServiceProxies.BatchTaskServiceProxy,
    ApiServiceProxies.DepartmentServiceProxy,
    ApiServiceProxies.PrintServiceProxy,
    ApiServiceProxies.MaterialInportServiceProxy,
    ApiServiceProxies.UserWorkingTimeServiceProxy,
    ApiServiceProxies.DemoOneServiceProxy,
    ApiServiceProxies.DemoThreeServiceProxy,
    ApiServiceProxies.Demo2ServiceProxy,

    { provide: HTTP_INTERCEPTORS, useClass: AbpHttpInterceptor, multi: true },
  ],
})
export class ServiceProxyModule {}
